package com.stonedt.spider.dao;

import com.stonedt.spider.entity.SourceSite;
import com.stonedt.spider.entity.SpiderTestData;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
@Repository
public interface SourceSiteDao {

	SourceSite searchSiteById(@Param("id")Integer website_id);
	
	SourceSite searchBidSiteById(@Param("id")Integer website_id);
	
	void 	updatestate(@Param("state")Integer state,@Param("id")Integer id);
	
	void 	updateBidstate(@Param("state")Integer state,@Param("id")Integer id);

	void eliminate(@Param("id")Integer id,@Param("state")Integer state);
	
	void bidEliminate(@Param("id")Integer id,@Param("state")Integer state);

	ArrayList<SpiderTestData> seeSection(@Param("id") Integer id);
	
	ArrayList<SpiderTestData> seeBidSection(@Param("id") Integer id);

//	List<SpiderFlow> searchSpiderFlows(@Param("website_id")Integer website_id);



}
